package com.air.admin.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;

import com.air.admin.mo.AdminPrivilege;
import com.air.admin.vo.PrivilegeQueryRequestVO;
import com.air.common.controller.IBaseController;

public interface IPrivilegeManagerController extends IBaseController {
	
	public ModelAndView listPrivilege(HttpServletRequest request,HttpServletResponse response,
			PrivilegeQueryRequestVO queryRequestVO) throws Exception;
	
	public ModelAndView addPrivilege(HttpServletRequest request,HttpServletResponse response,AdminPrivilege privilege)  throws Exception;
	
	public ModelAndView removePrivileges(HttpServletRequest request,HttpServletResponse response,String privilegeList);
	
	public ModelAndView updatePrivilege(HttpServletRequest request,HttpServletResponse response,AdminPrivilege privilege);
}
